package com.exam.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.exam.pojo.Login;
import com.exam.pojo.Teacher;

public interface TeacherService {
    Teacher getTeacher(Login login);

    IPage<Teacher> findTeacherAll(Page<Teacher> teacherPage);



    Object add(Teacher teacher);

    Object findTeacherById(Integer teacherId);

    Object deleteTeacherById(Integer teacherId);

    Object updateTeacher(Teacher teacher);
}
